{% extends "./base.html" %}
{% block content %}


    <h2>修改密码</h2>

    {% if oldpassword_is_wrong %}
        <div class="alert alert-error">
            <button type="button" class="close" data-dismiss="alert">×</button>
            <h4>错误!</h4>原密码不正确
        </div>
    {% endif %}
    <div class="well">
        <form class="form-horizontal" action="" method="post">
            {% csrf_token %}
            {{ form.as_p }}
            <p class="form-actions">
                <input type="submit" value="确认修改" class="btn btn-primary">
            </p>
        </form>
    </div>

{% endblock %}


